<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.15.2/axios.js"></script>
</head>
<body>
    <div id="app">
        {{ info }}
    </div>
    <script>
        new Vue({
            el: '#app',
            data () {
                return {
                info: null
                }
            },
            mounted () {
                axios
                //.get('https://api.coindesk.com/v1/bpi/currentprice.json')
                .get('http://localhost:8080/api/v1/student/all')
                .then(response => (this.info = response.data))
            }
        })
    </script>
</body>
</html>